// 第一步导入
import React, { Component } from 'react';
import './cart.scss';

import Header from '@/components/header/header';
import Pagination from '@/components/pagination/pagination'

// 第二步定义类
class Cart extends Component{
	render(){
		return (
			<div className="contain"> 
				<p>我是购物车</p>
				<Header
					name="hh"
					year="12"
				>
					<p>我是子组件</p>
				</Header>
				<Pagination/>
			</div>
		)
	}	
}


// 导出
export default Cart;